﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200145B RID: 5211
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TravelBrochureSetCustomValueScRsp : IMessage<TravelBrochureSetCustomValueScRsp>, IMessage, IEquatable<TravelBrochureSetCustomValueScRsp>, IDeepCloneable<TravelBrochureSetCustomValueScRsp>, IBufferMessage
	{
		// Token: 0x1700419D RID: 16797
		// (get) Token: 0x0600E919 RID: 59673 RVA: 0x0026EDF4 File Offset: 0x0026CFF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TravelBrochureSetCustomValueScRsp> Parser
		{
			get
			{
				return TravelBrochureSetCustomValueScRsp._parser;
			}
		}

		// Token: 0x1700419E RID: 16798
		// (get) Token: 0x0600E91A RID: 59674 RVA: 0x0026EDFB File Offset: 0x0026CFFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TravelBrochureSetCustomValueScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700419F RID: 16799
		// (get) Token: 0x0600E91B RID: 59675 RVA: 0x0026EE0D File Offset: 0x0026D00D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TravelBrochureSetCustomValueScRsp.Descriptor;
			}
		}

		// Token: 0x0600E91C RID: 59676 RVA: 0x0026EE14 File Offset: 0x0026D014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetCustomValueScRsp()
		{
		}

		// Token: 0x0600E91D RID: 59677 RVA: 0x0026EE1C File Offset: 0x0026D01C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetCustomValueScRsp(TravelBrochureSetCustomValueScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E91E RID: 59678 RVA: 0x0026EE41 File Offset: 0x0026D041
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetCustomValueScRsp Clone()
		{
			return new TravelBrochureSetCustomValueScRsp(this);
		}

		// Token: 0x170041A0 RID: 16800
		// (get) Token: 0x0600E91F RID: 59679 RVA: 0x0026EE49 File Offset: 0x0026D049
		// (set) Token: 0x0600E920 RID: 59680 RVA: 0x0026EE51 File Offset: 0x0026D051
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600E921 RID: 59681 RVA: 0x0026EE5A File Offset: 0x0026D05A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TravelBrochureSetCustomValueScRsp);
		}

		// Token: 0x0600E922 RID: 59682 RVA: 0x0026EE68 File Offset: 0x0026D068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TravelBrochureSetCustomValueScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E923 RID: 59683 RVA: 0x0026EE98 File Offset: 0x0026D098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E924 RID: 59684 RVA: 0x0026EED7 File Offset: 0x0026D0D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E925 RID: 59685 RVA: 0x0026EEDF File Offset: 0x0026D0DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E926 RID: 59686 RVA: 0x0026EEE8 File Offset: 0x0026D0E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E927 RID: 59687 RVA: 0x0026EF1C File Offset: 0x0026D11C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E928 RID: 59688 RVA: 0x0026EF5A File Offset: 0x0026D15A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TravelBrochureSetCustomValueScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E929 RID: 59689 RVA: 0x0026EF8B File Offset: 0x0026D18B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E92A RID: 59690 RVA: 0x0026EF94 File Offset: 0x0026D194
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005C1F RID: 23583
		private static readonly MessageParser<TravelBrochureSetCustomValueScRsp> _parser = new MessageParser<TravelBrochureSetCustomValueScRsp>(() => new TravelBrochureSetCustomValueScRsp());

		// Token: 0x04005C20 RID: 23584
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005C21 RID: 23585
		public const int RetcodeFieldNumber = 4;

		// Token: 0x04005C22 RID: 23586
		private uint retcode_;
	}
}
